package com.duobao.wugong;

import com.duobao.server.NPC;
import com.duobao.server.WuGong;
import com.duobao.shanghai.Geshang;
import com.duobao.shanghai.Pishang;

public class HFFLJ extends WuGong
{

    public HFFLJ(int Lv) {
        super(1, 2, "回风拂柳剑", Lv);
        this.setDescribe("峨眉派的传世剑法,其绝招威力惊人");
        this.setXishu(1.500f);
        this.setTezhaoshu(8);
        this.setZjiashu(0);
    }

    @Override
    public String getchuzhao(int id, NPC npc1, NPC npc2) {
        String str=null;
        this.yaohai=(int)(Math.random()*8);
        switch(id)
        {
            case 1:str = npc1.getName()+"剑尖剑芒暴长，一招「清风袭月」，手中"+npc1.getZbW().getName()+"自左下大开大阖，一剑向右上向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"，";
                break;
            case 2:str = npc1.getName()+"长剑圈转，一招「飘雪穿云」，手中"+npc1.getZbW().getName()+"平展下刺，一剑轻轻划过"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"，";
                break;
            case 3:str = npc1.getName()+"长剑轻灵跳动，剑随身长，右手"+npc1.getZbW().getName()+"使出一式「千峰竞秀」刺向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"，";
                break;
            case 4:str = npc1.getName()+"长剑下指，剑意流转，一招「万流归宗」直取"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"，";
                break;
            case 5:str = npc1.getName()+"剑芒吞吐，幻若灵蛇，右手"+npc1.getZbW().getName()+"使出一式「乌龙搅柱」，剑势曼妙，刺向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"斜斜砍出一刀，";
                break;
            case 6:str = npc1.getName()+"屈腕云剑，剑光如彩碟纷飞，幻出点点星光，右手"+npc1.getZbW().getName()+"使出一式「大雁啼沙」跃跃洒洒飘向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"斜斜砍出一刀，";
                break;
            case 7:str = npc1.getName()+"挥剑分击，剑势自胸前跃出，右手"+npc1.getZbW().getName()+"一式「进退龙游」，毫无留恋之势，刺向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"，";
                break;
            case 8:str = npc1.getName()+"退步，左手剑指划转，腰部一扭，右手"+npc1.getZbW().getName()+"一记「天地鹤翔」自下而上刺向"+npc2.getName()+"的"+npc2.getYHai()[this.yaohai]+"斩去，";
                break;
            case 9:str = npc1.getName()+"手中长剑剑芒跃动，剑光暴长，幻出死亡的色彩，剑尖渐渐逼近"+npc2.getName()+"，"+npc2.getName()+"看到漫天剑光，抽身后跃，只这一刹，漫天剑影化为一剑直刺"+npc2.getName()+"前胸，快捷无伦，只有一剑！";
                break;
        }

        return str;
    }

    @Override
    public String getzhaojia(int id, NPC npc1, NPC npc2) {
        String str="";
        return str;
    }

    @Override
    public String getzhongzhao(int id, NPC npc1, NPC npc2) {
String str=null;

        switch(id)
        {
            case 1:
            case 2:str = Geshang.miaoshu(1, yaohai, npc1, npc2);
                break;
            case 3:
            case 4:str = Geshang.miaoshu(2, yaohai, npc1, npc2);
                break;
            case 5:
            case 6:str =  Geshang.miaoshu(3, yaohai, npc1, npc2);
                break;
            case 7:
            case 8:str =  Geshang.miaoshu(4, yaohai, npc1, npc2);
                break;
            case 9:str =  npc2.getName()+"根本没法躲避，一式「回风拂柳剑」的绝招「灭剑」端端正正扎进在"+npc2.getName()+"的胸口！"+npc2.getName()+"一低头，看长剑自胸口拔出！";
            break;
        }

        return str;
    }
}
